# hello this is first python practice

name = raw_input("Hello! What's your name:")
text = "Hello! Welcome " + name + "!"
SCREEN_WIDTH = 80
text_width = len(text)
left_margin = (SCREEN_WIDTH - text_width)//2
body_width = text_width + 2


print ' ' * left_margin + '+' + '-' * body_width + '+'
print ' ' * left_margin + '|' + ' ' * body_width + '|'
print ' ' * left_margin + '|' + ' ' + text  + ' |'
print ' ' * left_margin + '|' + ' ' * body_width + '|'
print ' ' * left_margin + '+' + '-' * body_width + '+'

